Skip to content

docs(run-a-relay): document relay operator config knobs (14 locales) - #45

Merged
MichaelTaylor3d merged 1 commit into
mainfrom
docs/relay-config-knobs-1403
Jul 21, 2026
Merged

docs(run-a-relay): document relay operator config knobs (14 locales)#45
MichaelTaylor3d merged 1 commit into
mainfrom
docs/relay-config-knobs-1403

Conversation

@MichaelTaylor3d

Copy link
Copy Markdown
Contributor

What

Adds an operator Configuration and tuning section to the Run a relay page — the page previously documented no relay config knobs at all. Documents every dig-relay tunable (v0.12.0): network listeners, capacity/connection limits, per-IP + per-connection abuse-protection limits, the health-sweep/liveness pruning knobs, and optional relay-side TLS termination. Each entry lists its CLI flag, DIG_RELAY_* environment variable, default value, and a one-line description; abuse limits note that 0 disables them.

Applied byte-identically across all 14 locales (1 English + 13 i18n mirrors — this page follows the repo's English-mirror convention).

How verified

  • Knob names / defaults / flags / env vars taken from the shipped dig-relay v0.12.0 config surface and cross-checked against its config, CLI, and service-env sources.
  • ## Configuration and tuning present exactly once in each of the 14 files.
  • Version bumped 0.5.10.5.2 (patch: docs-only addition, no behaviour change).
  • CI gates: commitlint, version-increment, and the 14-locale docusaurus build + a11y/SEO suite (broken-link/anchor throw) must pass.

Refs

Docs coherence for DIG-Network/dig_ecosystem#1403; siblings DIG-Network/dig_ecosystem#1386 (abuse limits) and DIG-Network/dig_ecosystem#1382 (health sweep).

Add a "Configuration and tuning" section to the run-a-relay page documenting
every dig-relay tunable: network listeners, capacity/connection limits, the
per-IP/per-connection abuse-protection limits, health-sweep/liveness knobs, and
optional relay-side TLS. Each entry gives the CLI flag, the DIG_RELAY_* env var,
the default, and what it does. Applied byte-identically to all 14 locales
(English mirrors per repo convention). Values verified against dig-relay v0.12.0.

Co-Authored-By: Claude <noreply@anthropic.com>

@MichaelTaylor3d MichaelTaylor3d left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PASS — independent correctness/quality review (docs-only, single leg).

Verified every knob row against the dig-relay source of truth (main.rs clap flags + service.rs config_from_env + SPEC §7):

  • All CLI flag names, DIG_RELAY_* env var names, and defaults match exactly.
  • idle-timeout-secs correctly shown as (flag only) — no DIG_RELAY_IDLE_* env var exists in config_from_env.
  • Byte defaults 262144 (256 KiB) / 1048576 (1 MiB/s) / 1073741824 (1 GiB) and the 0-disables annotations are accurate; listeners default to [::] dual-stack.
  • Section present + byte-identical across all 14 files (English + 13 locale mirrors; md5 008dcae6… on every one).
  • Docs hygiene clean: no internal-file refs / issue numbers / per-§ prose; operator-oriented positive voice; relative links (./universal-installer.md, ./configure.md) resolve to existing pages.
  • Version bumped 0.5.1 -> 0.5.2.

No findings. Merge unblocked on this leg.

@MichaelTaylor3d
MichaelTaylor3d merged commit 649a565 into main Jul 21, 2026
7 checks passed
@MichaelTaylor3d
MichaelTaylor3d deleted the docs/relay-config-knobs-1403 branch July 21, 2026 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant